<template>
  <div class="container">
    <div class="content">
      <div class="title">
        我的动态
      </div>
      <div class="list">
        <div
          class="item"
          v-for="item in 7"
          :key="item"
        >
          <div class="first">
            <div class="time">
              2021-09-12 15:25:12
            </div>
            <el-button
              type="danger"
              size="mini"
            >删除</el-button>
          </div>
          <div class="text-imgs">
          <div class="text">
            喜欢Jolin近20年，看着她一天天的成长，她真的值得被喜欢！实在太美、太时髦
            Windowson的设计前卫、时髦，是近几年最爱的设计师。自己也是因为家庭原因很
            久没有作品，希望一切稳定后还可以做自己最爱的设计!
          </div>
          <div class="imgs">
            <img
              v-for="i in 3"
              :key="`img${i}`"
              src="@/assets/1.jpg"
              alt=""
            />
          </div>
          </div>
          <div class="num">
            <div>
              <i class="el-icon-star-off"></i>
              <span>2352</span>
            </div>
            <div>
              <i class="el-icon-view"></i>
              <span>1.6万</span>
            </div>
            <div>
              <i class="el-icon-chat-line-round"></i>
              <span>2352</span>
            </div>
          </div>
        </div>
      </div>
      <div class="page">
        <el-pagination
          background
          layout="total, prev, pager, next"
          :total="1000"
        >
        </el-pagination>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  }
};
</script>

<style scoped>
.container {
  background: #f0f2f5;
  padding: 25px;
  font-size: 14px;
}
.container .content {
  background: #ffffff;
  padding-bottom: 40px;
}
.content .title {
  padding: 20px 30px;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  color: #000000d8;
}
.list {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 40px 0;
}
.list .item {
  width: 30%;
  margin-right: 5%;
  border: 1px solid #eee;
  margin-bottom: 30px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}

.item:hover {
  box-shadow: 1px 1px 5px #888888;
}
.item:nth-child(3n) {
  margin-right: 0;
}
.item .first {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #aaaaaa;
  padding: 0 10px 5px;
  border-bottom: 1px solid #eee;
}

.item .text-imgs {
    flex:1;
}

.item .text {
  padding: 5px 10px 10px;
  line-height: 1.5;
  color: #333;
}

.item .imgs {
  padding: 0 10px 10px;
  
}

.imgs img {
  width: 80px;
  height: 80px;
  margin-right: 5px;
  border: 1px solid #eee;
  cursor: pointer;
}
.item .num {
  display: flex;
  justify-content: space-between;
  padding: 10px 10px 0;
  color: #cdcdcd;
  border-top: 1px solid #eee;
}

.num i {
  font-size: 16px;
}

.num span {
  padding-left: 6px;
}
.page {
  text-align: center;
}
</style>